xen/arm: Unmask the Abort/SError bit in the exception entries
authorWei Chen <Wei.Chen@arm.com>
Wed, 5 Apr 2017 09:09:16 +0000 (17:09 +0800)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 5 Apr 2017 19:12:45 +0000 (12:12 -0700)
commitc85e7d967e5551414da4fed2a0c2c3b121a2fe04
tree440b1d487325635b625d9f90410a1e1885938e67
parent3f16c8cb3370f19912827bb567c3f163adabfb37
xen/arm: Unmask the Abort/SError bit in the exception entries

Currently, we masked the Abort/SError bit in Xen exception entries.
So Xen could not capture any Abort/SError while it's running.
Now, Xen has the ability to handle the Abort/SError, we should unmask
the Abort/SError bit by default to let Xen capture Abort/SError while
it's running.

But in order to avoid receiving nested asynchronous abort, we don't
unmask Abort/SError bit in hyp_error and trap_data_abort.

Signed-off-by: Wei Chen <Wei.Chen@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm32/entry.S
xen/arch/arm/arm64/entry.S